//
//  Student.h
//  OC02_作业
//
//  Created by dllo on 15/12/1.
//  Copyright © 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Student : NSObject
//{
//    NSString *_name;
//    NSInteger _age;
//}


@property (nonatomic, retain)NSString *name;
@property (nonatomic, assign)NSInteger age;
//- (void)setName:(NSString *)name;
//- (NSString *)name;
//
//- (void)setAge:(NSInteger)age;
//- (NSInteger)age;

- (instancetype)initWithName:(NSString *)name
                         age:(NSInteger)age;

+ (instancetype)studentWithName:(NSString *)name
                            age:(NSInteger)age;


























@end
